<template>
  <view>
    <z-nav-bar id="nav" bgColor="#ffffff" title="开通团体卡申请"></z-nav-bar>
    <view  class="success-box flex-column-center">
      <view class="success-receptacle flex-aj-center">
        <view class="success-pot flex-aj-center">
          <view class="success-vessel flex-aj-center">
            <view class="short-side">
              <view class="long-side"></view>
            </view>
          </view>
        </view>
        <view class="round-1"></view>
        <view class="round-2"></view>
        <view class="round-3"></view>
        <view class="round-4"></view>
        <view class="round-5"></view>
      </view>
      <view class="cell1">
        企业团体卡已成功提交
      </view>
      <view class="cell2">
        后台长在审核中
      </view>
    </view>
    <view class="fail-box flex-column-center" :style="'margin-top:'+(statusBarHeight+44)+'px'">
      <view class="fail-receptacle flex-aj-center">
        <view class="side">
          <view class="side"></view>
        </view>
      </view>
      <view class="cell1">
        企业团体卡提交失败
      </view>
      <view class="cell2">
        后台长在审核中
      </view>
    </view>
  </view>
</template>

<script setup>
import {ref} from "vue";
import { onLoad } from '@dcloudio/uni-app';
let app = getApp();

let pageTitle=ref('开通团体卡申请')
let pageSuccess=ref('0')
//---------------------------------------onload-----------------------
onLoad((options)=>{
  console.log(options,'options')
  pageSuccess.value = options.success
  console.log(pageSuccess.value,'pageSuccess.value')
  // if(pageSuccess.value=='0'){
  // 	pageTitle.value = '开通团体卡申请'
  // }else{
  // 	pageTitle.value = '开通团体卡申请'
  // }
})
</script>

<style>
page{background-color: #fff;}
</style>
<style lang="scss">
.success-box,.fail-box{
  padding-top: 80rpx;
  .cell1{
    margin: 42rpx 0 8rpx;
    color: $uni-text-color;
  }
  .cell2{
    font-size: 32rpx;
    color: #999;
  }
}
</style>
